package com.example.labSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 请假申请表
 * </p>
 *
 * @author 10
 * @since 2024-12-12
 */
@Getter
@Setter
@TableName("leave_record")
public class Leave implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 请假申请ID
     */
    @TableId("requestID")
    private String requestID;

    /**
     * 用户ID
     */
    @TableField("userID")
    private String userID;

    /**
     * 请假类型
     */
    @TableField("leaveType")
    private String leaveType;

    /**
     * 请假开始时间
     */
    @TableField("startTime")
    private LocalDateTime startTime;

    /**
     * 请假结束时间
     */
    @TableField("endTime")
    private LocalDateTime endTime;

    /**
     * 请假原因
     */
    @TableField("reason")
    private String reason;

    /**
     * 审批状态
     */
    @TableField("status")
    private String status;

    /**
     * 审批人ID
     */
    @TableField("approverID")
    private String approverID;
}
